import React, { useState, useEffect } from 'react';
import ReactDOM from 'react-dom';
import { Link, useHistory } from 'react-router-dom'
import { Layout, Menu, Breadcrumb, Row, Col, Button, Tabs, Space, message, PageHeader } from 'antd';
import { UserOutlined, LaptopOutlined, NotificationOutlined } from '@ant-design/icons';
import { checkAdmin } from '../../../utils/loginUtils/loginMethod'
import SubjceOne from './subjectOne/index'
export default () => {
    const { TabPane } = Tabs;
    const history = useHistory()
  
    return (
        <>

            <Tabs
                size='small'
            >
                <TabPane tab="科目一试题" key="1">
                    <SubjceOne/>
                </TabPane>
                <TabPane tab="科目四试题" key="2">
                    Content of Tab 2
                </TabPane>

            </Tabs>

        </>
    )
}


